package com.wowudi.service.impl;

import com.wowudi.mapper.PopedomMapper;
import com.wowudi.model.power.Popedom;
import com.wowudi.service.PopedomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PopedomServiceImpl implements PopedomService {

    @Autowired
    private PopedomMapper popedomMapper;

    @Override
    public List<Popedom> findByUId(Integer uid) {
        return popedomMapper.selectAllByUId(uid);
    }
}
